// 用户类型
export interface UserMaster {
  UserId: string;
  UserName: string;
  Password: string;
  PwdStatus?: string;
  PwdExpiryDate?: Date;
  UserRole?: string;
  UserPhoneNo?: string;
  UserEmail?: string;
  DeptCode: string;
  ReportingTo?: string;
  Status?: string;
  LastLoginDate?: Date;
  InactiveDate?: Date;
  CreatedBy?: string;
  CreatedAt?: Date;
  ModifiedBy?: string;
  ModifiedAt?: Date;
}

// 部门类型
export interface DeptMaster {
  Id: string;
  Name: string;
  ParentId?:null;
  CreatedBy?: string;
  CreatedAt?: Date;
}
export   interface OriginalDeptItem {
  Id: string;
  Name: string;
  Children?: OriginalDeptItem[];
}
export  interface DeptResponse {
  Data: OriginalDeptItem[];
}

// 组别类型
export interface GroupMaster {
  Id: number;
  Name: string;
  Category?: string;
  Remark?: string;
  IsActive?: string;
  CreatedBy?: string;
  CreatedAt?: Date;
  ModifiedBy?: string;
  ModifiedAt?: Date;
}

// 部门与组别关联类型
export interface DeptGroup {
  Id: string;
  DeptId: string;
  GroupId: number;
  IsActive?: string;
  CreatedBy?: string;
  CreatedAt?: Date;
  ModifiedBy?: string;
  ModifiedAt?: Date;
}

// 区域类型
export interface LocationMaster {
  Id: string;
  Name: string;
  Area?: string;
  Descr?: string; // 如果业务允许建议改为 Description
  CreatedBy?: string;
  CreatedAt?: Date;
}
